home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.lang.c
- Subject: Re: Example of an unintelligible program in C
- Date: Mon, 25 Mar 96 00:12:07 GMT
- Organization: none
- Message-ID: <827712727snz@genesis.demon.co.uk>
- References: <4iegj7$evn@bee.uspnet.usp.br> <4if0i4$qsm@garden.csc.calpoly.edu> <4ij8je$lb9@charm.il.ft.hse.nl> <4iq67bINN3gs@keats.ugrad.cs.ubc.ca>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <4iq67bINN3gs@keats.ugrad.cs.ubc.ca>
- c2a192@ugrad.cs.ubc.ca "Kazimir Kylheku" writes:
-
- >The square root example given in the earlier posting employs a variable whose
- >name is the underscore character. Oops.
-
- That's OK in this case since the identifier has block scope and the
- underscore is not followed by an uppercase letter or another underscore
- (and its not a full moon etc.)
-
- >What about the use of putchar without having included <stdio.h>, hmm?
-
- Since putchar() returns int, has a fixed argument list and no agrument
- undergoes default argument promotion, that's fine.
-
- >The exit status is undefined, also.
-
- Bad style perhaps but it is permitted by the standard.
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-